package net.mapbb.main;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

public class GuidePagerAdapter extends FragmentPagerAdapter {

	String[] CONTENT = new String[] { "This", "Is", "A", "Test", };
	
	public GuidePagerAdapter(FragmentManager fm) {
		super(fm);

	}

	@Override
	public Fragment getItem(int index) {
		GuideFragment gf = new GuideFragment();
		Bundle arg = new Bundle();
		arg.putString("txt", CONTENT[index]);
		gf.setArguments(arg);
		return gf;
	}

	@Override
	public int getCount() {
		return CONTENT.length;
	}

}
